package com.example.springbootdemo.bean;

import jakarta.annotation.Resource;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
@Slf4j
@Data
public class Bean1 {
  @Autowired
  private Bean2 bean2;

  @Autowired
  @Resource(name = "bean4")
  private Inter bean3;

  public Bean1(){
    log.debug("constructor bean1");
  }
}
